import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Index from '@/components/index'
import Tiku from '@/components/tiku'
import Zhibo from '@/components/zhibo'
import Project from '@/components/project'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
    },
		{
		  path: '/tiku',
		  name: '题库',
		  component: Tiku,
		},
		{
		  path: '/zhibo',
		  name: '直播',
		  component: Zhibo,
			// props:(route) => ({ query: route.query.activeproject })
		},
		{
		  path: '/project',
		  name: 'project',
		  component: Project,
		}
  ]
})
